﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="HardPartyEdit.aspx.cs" Inherits="ZHDJ.PersonalCenter.Module.HardParty.HardPartyEdit" %>

<!DOCTYPE html>
<html>
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
        <f:PageManager ID="PageManager1" AutoSizePanelID="Panel1" runat="server" />
        <f:Panel ID="Panel1" ShowBorder="false" ShowHeader="false" AutoScroll="true" runat="server">
            <Items>
                <f:TabStrip ID="TabStrip1" ShowBorder="false" TabPosition="Top" AutoScroll="false"
                    EnableTabCloseMenu="false" ActiveTabIndex="0" Margin="0 auto" BodyPadding="2px"
                    runat="server">
                    <Tabs>
                        <f:Tab Title="基础信息" BodyPadding="5px" Layout="VBox"
                            runat="server">
                            <Items>
                                <f:Form BodyPadding="10px" ID="Form2"
                                    runat="server" Title="" ShowBorder="false" ShowHeader="false">
                                    <Rows>
                                        <f:FormRow>
                                            <Items>
                                                <f:TextBox Readonly="true"  ID="txtUserNo" runat="server" LabelAlign="right" Label="用户名" Required="true" ShowRedStar="true">
                                                </f:TextBox>
                                                <f:TextBox Readonly="true" ID="txtUserName" runat="server" LabelAlign="right" Label="姓名" Required="true" ShowRedStar="true">
                                                </f:TextBox>
                                            </Items>
                                        </f:FormRow>
                                        <f:FormRow>
                                            <Items>
                                                <f:TriggerBoxPicker Label="所属组织" LabelAlign="right"
                                                    runat="server" ID="ppBranch" ShowTrigger1="true" ShowTrigger2="true" Trigger1Icon="Clear"
                                                    EnableEdit="false" WindinsTitle="选择所属组织"
                                                    WindinsHeight="450px" EnableTrigger1PostBack="false"
                                                    WindinsWidth="700px" WindinsUrl="../../../Share/Picker/BranchToMemberPicker.aspx">
                                                </f:TriggerBoxPicker>



                                            </Items>
                                        </f:FormRow>
                                        <f:FormRow>
                                            <Items>
                                                <f:RadioButtonList LabelAlign="right" Readonly="true" ID="rbGender" Label="性别" Required="true" ShowRedStar="true" runat="server">
                                                    <f:RadioItem Text="男" Value="0" />
                                                    <f:RadioItem Text="女" Value="1" />
                                                </f:RadioButtonList>
                                                <f:DropDownList ID="ddlisHardParty" Readonly="true" Label=" 困难党员" LabelAlign="right" runat="server" OnSelectedIndexChanged="ddlisHardParty_SelectedIndexChanged" AutoPostBack="true">
                                                    <f:ListItem Value="" Text="==请选择==" />
                                                    <f:ListItem Value="1" Text="是" />
                                                    <f:ListItem Value="0" Text="否" />
                                                </f:DropDownList>
                                            </Items>
                                        </f:FormRow>
                                        <f:FormRow>
                                            <Items>
                                                <f:HtmlEditor ID="heHardParty" runat="server" Label="困难原因" LabelAlign="right" Height="100px" Hidden="true"></f:HtmlEditor>
                                            </Items>
                                        </f:FormRow>
                                        <f:FormRow>
                                            <Items>
                                                <f:DropDownList ID="ddlIsPartyWorker" Readonly="true" Label=" 党务工作者" LabelAlign="right" runat="server" Required="true" ShowRedStar="true">
                                                    <f:ListItem Value="" Text="==请选择==" />
                                                    <f:ListItem Value="1" Text="是" />
                                                    <f:ListItem Value="0" Text="否" />
                                                </f:DropDownList>
                                                <f:DropDownList ID="ddlisPartyDeputy" Label="党代表" Readonly="true" LabelAlign="right" runat="server">
                                                    <f:ListItem Value="" Text="==请选择==" />
                                                    <f:ListItem Value="1" Text="是" />
                                                    <f:ListItem Value="0" Text="否" />
                                                </f:DropDownList>
                                            </Items>
                                        </f:FormRow>
                                        <f:FormRow>
                                            <Items>
                                                <f:TextBox Readonly="true" ID="txtIdentityCard"  runat="server" LabelAlign="right" Required="true" ShowRedStar="true" Label="身份证号">
                                                </f:TextBox>
                                                <f:TextBox Readonly="true" ID="txtMobileNo"  runat="server" LabelAlign="right" Required="true" ShowRedStar="true" Label="手机号码">
                                                </f:TextBox>
                                            </Items>
                                        </f:FormRow>
                                        <f:FormRow>
                                            <Items>
                                                <f:DropDownList ID="ddlIsIncumbency" Label="在职党员" LabelAlign="right" runat="server" Readonly="true">
                                                    <f:ListItem Value="" Text="==请选择==" />
                                                    <f:ListItem Value="1" Text="是" />
                                                    <f:ListItem Value="0" Text="否" />
                                                </f:DropDownList>
                                                <f:DropDownList ID="ddlPost" Label="党内职务" LabelAlign="right" runat="server" Readonly="true">
                                                </f:DropDownList>

                                            </Items>
                                        </f:FormRow>
                                        <f:FormRow>
                                            <Items>
                                                <f:DropDownList ID="ddlFaipule" Label="村代表" LabelAlign="right" runat="server" Readonly="true">
                                                    <f:ListItem Value="" Text="==请选择==" />
                                                    <f:ListItem Value="1" Text="是" />
                                                    <f:ListItem Value="0" Text="否" />
                                                </f:DropDownList>
                                                <f:DropDownList ID="ddlisVolunteer" Label="志愿者" LabelAlign="right" Readonly="true" runat="server" OnSelectedIndexChanged="ddlisVolunteer_SelectedIndexChanged" AutoPostBack="true">
                                                    <f:ListItem Value="" Text="==请选择==" />
                                                    <f:ListItem Value="1" Text="是" />
                                                    <f:ListItem Value="0" Text="否" />
                                                </f:DropDownList>
                                                
                                            </Items>
                                        </f:FormRow>
                                        <f:FormRow>
                                            <Items>
                                                <f:TextBox Readonly="true" ID="txtVolunteerNo" runat="server" LabelAlign="right" Label="志愿者编号" Hidden="true"></f:TextBox>
                                            </Items>
                                        </f:FormRow>
                                        <f:FormRow>
                                            <Items>
                                                <f:TextBox Readonly="true" ID="txtNation" runat="server" LabelAlign="right" Label="民族" Required="true" ShowRedStar="true">
                                                </f:TextBox>
                                                <f:TextBox Readonly="true" ID="txtNativePlace" runat="server" LabelAlign="right" Label="籍贯" Required="true" ShowRedStar="true">
                                                </f:TextBox>
                                            </Items>
                                        </f:FormRow>
                                        <f:FormRow>
                                            <Items>
                                                <f:DatePicker runat="server" Readonly="true" LabelAlign="right" Required="true" Label="出生年月" DateFormatString="yyyy-MM-dd" EmptyText=""
                                                    ID="dtBirthday" ShowRedStar="True">
                                                </f:DatePicker>
                                                <f:DropDownList Readonly="true" ID="ddlPoliticsLineament" OnSelectedIndexChanged="ddlPoliticsLineament_SelectedIndexChanged" Label="政治面貌" LabelAlign="right" runat="server">
                                                </f:DropDownList>
                                            </Items>
                                        </f:FormRow>
                                        <f:FormRow>
                                            <Items>
                                                <f:DatePicker runat="server" Readonly="true" LabelAlign="right" Required="true" Label="入党时间" DateFormatString="yyyy-MM-dd HH:mm:ss" EmptyText=""
                                                    ID="dtJoinPartyDate">
                                                </f:DatePicker>
                                                <f:DatePicker runat="server" Readonly="true" LabelAlign="right" Label="转正时间" DateFormatString="yyyy-MM-dd" EmptyText=""
                                                    ID="dtBeRegularDate">
                                                </f:DatePicker>

                                            </Items>
                                        </f:FormRow>
                                    </Rows>
                                </f:Form>
                            </Items>
                        </f:Tab>
                        <f:Tab Title="其它信息" BodyPadding="5px" runat="server" Layout="VBox" Margin="0 auto">
                            <Items>
                                <f:Form BodyPadding="10px" ID="Form3"
                                    runat="server" Title="" ShowBorder="false" ShowHeader="false">
                                    <Rows>
                                        <f:FormRow>
                                            <Items>
                                                <f:TextBox Readonly="true"  ID="txtQQ" runat="server" LabelAlign="right" Label="QQ">
                                                </f:TextBox>
                                                <f:TextBox Readonly="true" ID="txtEmail" runat="server" LabelAlign="right" Label="电子邮箱">
                                                </f:TextBox>
                                            </Items>
                                        </f:FormRow>
                                        <f:FormRow>
                                            <Items>
                                                <f:TextBox Readonly="true" ID="txtfeitionNo" runat="server" LabelAlign="right" Label="飞信号码">
                                                </f:TextBox>
                                                <f:Label runat="server" ID="dd"></f:Label>
                                            </Items>
                                        </f:FormRow>
                                        <f:FormRow>
                                            <Items>
                                                <f:TextBox Readonly="true" ID="txtAddress" runat="server" LabelAlign="right" Label="家庭住址">
                                                </f:TextBox>
                                            </Items>
                                        </f:FormRow>
                                        <f:FormRow>
                                            <Items>
                                                <f:TextArea  Readonly="true" runat="server" ID="txtRewardsPunishment" Label="奖惩情况" LabelAlign="right"
                                                    AutoGrowHeight="true" AutoGrowHeightMin="70" AutoGrowHeightMax="100">
                                                </f:TextArea>
                                            </Items>
                                        </f:FormRow>
                                        <f:FormRow>
                                            <Items>
                                                <f:TextArea Readonly="true" runat="server" ID="txtDemocraticAppraisal" Label="民主评议" LabelAlign="right"
                                                    AutoGrowHeight="true" AutoGrowHeightMin="70" AutoGrowHeightMax="100">
                                                </f:TextArea>
                                            </Items>
                                        </f:FormRow>
                                    </Rows>
                                </f:Form>
                            </Items>
                        </f:Tab>
                        <f:Tab Title="头像设置" BodyPadding="5px" runat="server" Layout="VBox">
                            <Items>

                                <f:Panel ID="Panel33" ShowBorder="false" ShowHeader="false" runat="server" Layout="VBox" BoxConfigAlign="Center"
                                    BoxConfigPosition="Center" BoxConfigChildMargin="0 0 5 0" BodyPadding="5">
                                    <Toolbars>
                                        <f:Toolbar ID="Toolbar4" runat="server" Position="Top" ToolbarAlign="Center">
                                            <Items>
                                                <f:FileUpload runat="server" ID="filePhoto" ShowRedStar="false" Hidden="true"
                                                    ButtonText="上传个人头像" ButtonOnly="true" Required="false" ButtonIcon="ImageAdd"
                                                    AutoPostBack="true" OnFileSelected="filePhoto_FileSelected">
                                                </f:FileUpload>
                                            </Items>
                                        </f:Toolbar>
                                    </Toolbars>
                                    <Items>
                                        <f:Panel ID="Panel2" BoxFlex="1" MinHeight="300px" Margin="0"
                                            runat="server" BodyPadding="5px" ShowBorder="false" ShowHeader="false">
                                            <Items>
                                                <f:Image ID="imgPhoto" ImageUrl="~/Content/icon/blank1.png" Width="300px" runat="server">
                                                </f:Image>
                                            </Items>
                                        </f:Panel>
                                    </Items>
                                </f:Panel>
                                <f:HiddenField Text="" ID="hdFileId" runat="server"></f:HiddenField>
                            </Items>
                        </f:Tab>
                    </Tabs>
                </f:TabStrip>
            </Items>
            <Toolbars>
                <f:Toolbar ID="Toolbar1" runat="server" Position="Bottom" ToolbarAlign="Center">
                    <Items>
                        <f:Button ID="btnSaveClose" ValidateForms="Form2" Icon="SystemSaveClose" Hidden="true"
                            OnClick="btnSaveClose_Click" runat="server" Text="保存并关闭">
                        </f:Button>
                        <f:ToolbarSeparator ID="ToolbarSeparator2" runat="server">
                        </f:ToolbarSeparator>
                        <f:Button ID="btnClose" Icon="SystemClose" EnablePostBack="false" runat="server"
                            Text="关闭">
                        </f:Button>
                    </Items>
                </f:Toolbar>
            </Toolbars>
        </f:Panel>
    </form>
</body>
</html>
<script>



    function ReDoLayout() {

        var panel1ClientID = '<%= Panel33.ClientID %>';

        F.ready(function () {

            window.setTimeout(function () {

                F(panel1ClientID).doLayout();
            }, 100);

        });
    }

    ReDoLayout();
</script>
